<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class UserBank extends Model
{
	
    protected $table = 'user_bank';

    protected $fillable = [
        'sfz_zimg','sfz_fimg','sfz_id','bank_number','bank_type',
        'swift_code','user_id','admin_id','status','bank_address',
        'type','usdt_id','usdt_img',
    ];


    public function admin_user()
    {
        return $this->belongsTo(AdminUser::class, 'user_id', 'id');
    }

    public static $status = [
        0   =>  '未通过',
        1   =>  '未审核',
        2   =>  '已审核',
    ];




}
